#!/usr/bin/perl5

print <<EndOfFile;
Content-type: text/html

<FORM>
<H2>Requesting a New DHCP Lease</H2>
<P>
<P>
When requesting a new lease, you will be prompted for the following 
parameters.  Any of these can be left blank to use the default values.
</P>
<P>
<STRONG>Requested hostname:</STRONG> This area allows you to choose a 
hostname for your machine, if the DHCP server supports this option.  If 
this server does not support this option, or if you do not enter a value
for your hostname, the DHCP server will choose a hostname for you.
</P>
(Default value: chosen by server)
<P>
<STRONG>Desired lease time:</STRONG>
This is the amount of time (in days) you would like before your lease 
expires.  The actual lease alotted to you may be for a shorter period
of time if the DHCP server is configured with a low maximum lease time.
If you do not enter a value here, the server will choose a default
lease time.
</P>
(Default value: 1095 days [3 years])
<P>
<STRONG>Requested IP address:</STRONG> This area allows you to choose an 
IP address for your machine, if the DHCP server supports this option.  If 
this server does not support this option, or if you do not enter a value
for your hostname, the DHCP server will choose an IP address for you. Note
that this option is only used if you also enter a requested hostname.
</P>
(Default value: chosen by server)
<P>
<STRONG>Shut down network when lease expires:</STRONG> This selection 
controls whether this system's networking will be shut down if the DHCP 
lease expires. Select <EM>Yes</EM> to turn off networking services at lease 
expiration and <EM>No</EM> to leave networking services on.
</P>
(Default value: No)
<P>
<STRONG>Timeout for server replies:</STRONG> This is the amount of time 
your client waits for the DHCP server to reply to a request before giving 
up and trying again.
</P>
(Default value: 6 seconds)
<P>
<STRONG>Number of tries before giving up:</STRONG> This is the number of 
times your client will broadcast a request for a DHCP lease before giving
up and assuming no DHCP server is available.
</P>
(Default value: 2 tries)
<P>
<STRONG>Configure second interface:</STRONG> If you have more than one 
network interface attached to your machine, you will be asked if you wish
to configure a second interface as well.  Choose an interface from the list
to configure it; choose <VAR>No</VAR> if you do not wish to 
configure a second interface.
</P>
(Default value: No)
<P>
<CENTER>
<INPUT TYPE="button" VALUE="Back to Form" onClick="window.location='dhcp-new.cgi'">
</CENTER>
</FORM>
EndOfFile
